package com.itbaizhan.controller;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author spf
 * @date 2024/3/12
 * @time 20:38
 */
@RestController
public class ParamLimterController {

    @SentinelResource("hot")
    @GetMapping("/findById")
    public String goods(@RequestParam("id") String id){
        return id;
    }

}
